package com.jinzhu.common.enablecloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * 自定义微服务启动注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableDiscoveryClient
@EnableFeignClients("com.jinzhu.common.feign.*")
@SpringBootApplication(scanBasePackages = {"com.jinzhu","com.jinzhu.common.exception"})
public @interface  SpringCloudGulimallApplication {
}
